<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page import="com.up4years.utils.CommonUtil"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()+ request.getContextPath() + "/";
   String imgPath = CommonUtil.getStaticBase();
%>
<c:set var="imgPath" value="<%=imgPath%>" />
<c:set var="ctx" value="<%=basePath%>" />
<script type="text/javascript">
	var ctx = '${ctx}';
	var imgPath = '${imgPath}';
</script>